package org.millioncall.yueyoga.admin.service.impl;

import java.util.List;
import java.util.Map;

import org.millioncall.yueyoga.admin.dao.MemberClazzDAO;
import org.millioncall.yueyoga.admin.model.MemberClazz;
import org.millioncall.yueyoga.admin.service.MemberClazzService;

public class MemberClazzServiceImpl implements MemberClazzService {
	private MemberClazzDAO memberClazzDAO;

	public MemberClazzDAO getMemberClazzDAO() {
		return memberClazzDAO;
	}

	public void setMemberClazzDAO(MemberClazzDAO memberClazzDAO) {
		this.memberClazzDAO = memberClazzDAO;
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return this.memberClazzDAO.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(MemberClazz record) {
		return this.memberClazzDAO.insert(record);
	}

	@Override
	public int insertSelective(MemberClazz record) {
		return this.memberClazzDAO.insertSelective(record);
	}

	@Override
	public MemberClazz selectByPrimaryKey(Integer id) {
		return this.memberClazzDAO.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(MemberClazz record) {
		return this.memberClazzDAO.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(MemberClazz record) {
		return this.memberClazzDAO.updateByPrimaryKey(record);
	}

	@Override
	public List<MemberClazz> findAllMemberInThisClazz(Map<String, Object> map) {
		return this.memberClazzDAO.findAllMemberInThisClazz(map);
	}
}
